package com.qqtech.qquan.send.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class SendDeliveryUser extends BaseDomain{

	//columns START
    /** 上级配送人（user_delivery）id, 0表示顶级 */
	private java.lang.Integer parentId;
    /** 用户id */
	private java.lang.Integer userId;
    /** 社区id */
	private java.lang.Integer communityId;
    /** 接单状态:1-正常;2-暂停 */
	private java.lang.Integer status;
    /** 审核状态:1-待审核;2-通过;3-不通过 */
	private java.lang.Integer auditStatus;
    /** 审核时间 */
	private java.sql.Timestamp auditAt;
	/** 上级配送人（user_base）id, 0表示顶级 */
	private java.lang.Integer parentUserId;
	/** 是否超级权限:1-是;2-否 */
	private java.lang.Integer hasSuperPower;
	//columns END
	public SendDeliveryUser(){
	}

	public SendDeliveryUser( java.lang.Integer id ){
		this.id = id;
	}

	public void setParentId(java.lang.Integer parentId) {
		this.parentId = parentId;
	}

	public java.lang.Integer getParentId() {
		return this.parentId;
	}
	
	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}

	public java.lang.Integer getUserId() {
		return this.userId;
	}
	
	public void setCommunityId(java.lang.Integer communityId) {
		this.communityId = communityId;
	}

	public java.lang.Integer getCommunityId() {
		return this.communityId;
	}
	
	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}
	
	public void setAuditStatus(java.lang.Integer auditStatus) {
		this.auditStatus = auditStatus;
	}

	public java.lang.Integer getAuditStatus() {
		return this.auditStatus;
	}
	
	public void setAuditAt(java.sql.Timestamp auditAt) {
		this.auditAt = auditAt;
	}

	public java.sql.Timestamp getAuditAt() {
		return this.auditAt;
	}

	public java.lang.Integer getParentUserId() {
		return parentUserId;
	}

	public void setParentUserId(java.lang.Integer parentUserId) {
		this.parentUserId = parentUserId;
	}

	public java.lang.Integer getHasSuperPower() {
		return hasSuperPower;
	}

	public void setHasSuperPower(java.lang.Integer hasSuperPower) {
		this.hasSuperPower = hasSuperPower;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

